package vo;

import java.util.ArrayList;
import java.util.List;

public class BibliographicData {

    private Parties parties;

    private List<InventionTitle> inventionTitles;
    
    public BibliographicData(){
        parties = new Parties();
        inventionTitles = new ArrayList<InventionTitle>();
    }
    
    public void add(InventionTitle titulo) {
        inventionTitles.add(titulo);
    }
    
    public void add(Inventor inventor) {
        parties.add(inventor);
    }
    
    public void add(Applicant applicant) {
        parties.add(applicant);
    }

    /**
     * @return the parties
     */
    public Parties getParties() {
        return parties;
    }

    /**
     * @param parties the parties to set
     */
    public void setParties(Parties parties) {
        this.parties = parties;
    }

    /**
     * @return the inventionTitles
     */
    public List<InventionTitle> getInventionTitles() {
        return inventionTitles;
    }

    /**
     * @param inventionTitles the inventionTitles to set
     */
    public void setInventionTitles(List<InventionTitle> inventionTitles) {
        this.inventionTitles = inventionTitles;
    }

   

    

}
